About
Merope
HTML5 Material Design Style Template
- created:
- version: v1.1
- updated:
- by: themekiosk
- email: themekiosk@zoho.com
Merope is Responsible One Page HTML5 Material Design Style Template built with Bootstrap 3 framework.
Structure
Files Structure
Once downloaded, unzip the compressed folder to see the structure of the Merope. You'll see next structure:
html template/
├── css/
│ ├── bootstrap.css
│ ├── bootstrap.min.css
│ ├── coming-soon.css
│ ├── font-awesome.css
│ ├── font-awesome.min.css
│ ├── chocolat.css
│ ├── main.css
│ ├── material-kit.css
│ └── slick.css
├── fonts/
│ ├── font-awesome.eot, font-awesome.svg, font-awesome.ttf
│ ├── font-awesome.woff, font-awesome.woff2
│ ├── MaterialIcons-Regular.eot, MaterialIcons-Regular.svg, MaterialIcons-Regular.ttf
│ └── MaterialIcons-Regular.woff, MaterialIcons-Regular.woff2
├── img/
│ ├── clients/
│ └── *images
│ ├── parallax/
│ └── *images
│ ├── screens/
│ └── *images
│ ├── thumbs/
│ └── *images
│ └── *images
├── js/
│ └── vendor/
│ └── *for detailed list see js section
│ ├── bootstrap.js
│ ├── bootstrap.min.js
│ ├── bootstrap-datepicker.js
│ ├── comingsoon.js
│ ├── contact.js
│ ├── main.js
│ ├── material.min.js
│ └── mymap.js
├── php/
│ ├── phpmailer/
│ ├── contact-form.php
│ └── newsletter.php
├── 404.html
├── about.html
├── comingsoon.html
├── contact.html
├── index.html
├── index-slider.html
├── index-video.html
└── shortcodes.html
Html Structure
This theme is a responsive layout based on Bootstrap 3. All information within the main content area is nested within a body tag. The general template structure is the same throughout the template.
General structure: Navbar + Header - Main - Footer
Simple HTML Boilerplate (index.html):
CSS Structure
All css files are located in css folder:
- bootstrap.css, bootstrap.min.css - Bootstrap 3 (version 3.3.5) Framework base stylesheets.
- coming-soon.css - CSS stylesheet for coming-soon.html page.
- font-awesome.min.css - Font Awesome The iconic font and CSS toolkit
- chocolat.css - Chocolat.js Lightbox css styles.
- main.css - base file that includes general styles for pages.
- material-kit.css - Material Design Kit for Bootstrap 3
- slick.css - stylesheet for Slick: Touch enabled jQuery plugin that lets you create responsive carousel slider
main.css
This file includes css styles for pages. If you want to change style, colors, margin, padding, font settings etc. of the template you should start from this file.
/* Table of Contents
=================================================== */
/*
* Default
* Titles
* Flexbox
* Cards
* Components
* Icon Box
* Breadcrumbs
* Pagination
* Modal
* Material Icons
* Preloader
* Header
* Sample Pages Header Image
* Navbar
* Main
* Section
* Offset wrapper
* Social List
* Features
* Statistics
* Team
* Skills
* Portfolio
* Masonry
* Filter
* Testimonials
* Services
* Brands
* Call To Action
* Blog
* Meta
* Post
* Tags
* Comments
* Widgets
* Promo
* Pricing
* Google Map
* Contact
* Footer
* Newsletter
* Project
* Page 404
*/
Example:
/* Header
=================================================== */
.header {
background: url(../img/dp2b.jpg) no-repeat scroll center center rgba(255, 255, 255, 0.75);
background-size: cover;
color: #fff;
width: 100%;
height: 100%;
padding: 0;
position: relative;
}
bootstrap.css, bootstrap.min.css
Bootstrap 3 Framework base stylesheets. Includes all components and elements, typography, lists, buttons, button groups, navigations, navbars, forms, labels, pricing tables and much more. This stylesheet must always be included! We recommend minified version bootstrap.min.css for use. For development you can use bootstrap.css.
material-kit.css
Material Kit stylesheet. Includes Material design styles for Bootstrap components. This stylesheet must be placed after Bootstrap base stylesheet (bootstrap.min.css or bootstrap.css)!
Javascript
All Javascript files are located in js folder.
- vendor/ (folder with all external scripts used in template)
- imagesloaded.pkgd.min.js - Imagesloaded detect when images have been loaded.
- isotope.pkgd.min.js - Isotope Filter & sort magical layouts.
- jquery-1.12.4.min.js - jQuery is a fast, small, and feature-rich JavaScript library.
- jquery.appear.js - jQuery Appear plugin to call a function when an element appears.
- jquery.countdown.min.js - The Final Countdown. A simple and html agnostic date countdown plugin for jQuery. (Used in comingsoon.html)
- jquery.chocolat.min.js - Chocolat.js jquery lightbox plugin
- jquery.thermometer.js - jQuery.thermometer is a jQuery plugin for creating thermometers and progress meters.
- jquery.transit.min.js - Transit. Super-smooth CSS transitions and transformations for jQuery. Used in coming-soon.html
- jquery.validate.min.js - jQuery Validation Plugin makes simple clientside form validation easy.
- modernizr.js - Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user’s browser.
- slick.js - Slick: Touch enabled jQuery plugin that lets you create responsive carousel slider
- bootstrap.js, bootstrap.min.js - Bootstrap 3 javascript library.
- bootstrap-datepicker.js - Datepicker for Bootstrap Add datepicker picker to field or to any other element.
- comingsoon.js - main JS for Coming Soon page
- contact.js - main JS for Contact Form
- main.js - Custom script, initialize all necessary scripts and functions
- material.min.js - Material design functions
- mymap.js - Script to run Google map
Be sure: If you create a new page:
If you use a form (contact form, subscribe form), make sure you have inserted:
If you use Google Map, make sure you have inserted:
Installation
Getting the Template Online
Warning! This is not a Wordpress template. Running, uploading or inserting in Wordpress CMS will have no effect.
This is HTML5 template, you do not need create a database. Just simply upload to the server.
It's important to understand that you must either have your own server space or use someone elses. The server space can be purchased at many different places around the internet. You need somewhere to put the files that you purchased so others can find them online.
The template folder will have several files with the extension labeled .html. This is where all your content will. It's very important to keep the css and js-plugin folders with the HTML or the HTML will not look how the design is meant to look. Along with the HTML files, you will also have four additional folders to upload: css, js, fonts, and images.
Start your FTP client (Total Commander or FileZilla) and login. Login to your server. You will need your server name (often times this will be your domain name), username, and password that you setup with the hosting company.
php Contact Form and Twitter Feed working only in server environment with installed php.
Load your content on server or use webserver on your machine.
Customization
Layout Settings
Insert your content, write your text, load your photos and images. Compress the size of images and photos. Demo template uses high resolution images, but for normal use it is not appropriate. High-res photos = slow website loading.
You can change HTML structure. Move sections in main content as needed.
Fonts
Google Fonts
We use free Google font: Roboto Condensed
Icons
Default Icon font for our template is Material icons.
Basic structure: <i class="material-icons">local_pizza</i>
Replace icon name inside i tag, example local_pizza, with the actual icon name you wish to display, example chevron_left. Then your new icon is <i class="material-icons">chevron_left</i>
See also: Material Icons Guide
Secondary Icon font is Font Awesome. Is used especially for social icons but you can use it anywhere.
Basic structure: <i class="fa fa-facebook"></i>
Replace icon name (icon name = css class), example fa-facebook, with the actual icon name you wish to display, example fa-home. Then your new icon is <i class="fa fa-home"></i>
Important: Google Font Roboto Condensed and Google Material Icons are used as hosted libraries.
The recommended way to use the Material Icons font and all Google Font´s is by linking to the web font hosted on Google Fonts.
If you need to install Material Icons locally - remove Material Icons link in html files (index.html, post.html, project.html, etc.) and uncomment /* */ @font-face in main.css
/* Material Icons
=================================================== */
/* <--remove
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(../fonts/MaterialIcons-Regular.eot);
src: local('../fonts/Material Icons'),
local('../fonts/MaterialIcons-Regular'),
url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
url(../fonts/MaterialIcons-Regular.woff) format('woff'),
url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}
*/ <--remove
Statistics - Counters
Setting the counters make directly in HTML code. Open index.html and follow the example below:
Change number value data-percent="number"
Creative Ideas
Projects Live
Awards winners
Happy Customers
Progress Bars
Set value in HTML code. Open index.html and follow the example below:
Change number value aria-valuenow="number"